<?php

namespace App\Domain\Address\Models;

use Illuminate\Database\Eloquent\Model;

class AddressModel extends Model
{
    protected $table = 'address';

    protected $fillable = [
        'name',
        'parent_code',
        'level_dict_code',
        'code',
        'phonetic_code',
        'level_dict',
        'longitude',
        'latitude',
        'info',
        'sort',
        'state',
        'create_account_uid',
        'modify_account_uid',
    ];

    const CREATED_AT = 'create_time';

    const UPDATED_AT = 'modify_time';

    public $guarded = [];
}
